Intel® Xeon Phi™ Coprocessor High-Performance Programming by Jim Jeffers & James Reinders

Intel® Xeon Phi™ Coprocessor High-Performance Programming by Jim Jeffers & James Reinders

Author:Jim Jeffers & James Reinders
Language: eng
Format: epub
ISBN: 9780124104945
Publisher: Elsevier Inc.
Published: 2013-02-14T16:00:00+00:00


Figure 7.17 Incorrect Usage of _Cilk_shared.

In the example of correct usage shown in Figure 7.18, the object mark has been allocated statically, and its usage modified slightly:

Figure 7.18 Correct Usage of _Cilk_shared.

Synchronization between the processor and the target

Memory synchronization between the processor and the target occurs at the following predefined points:

• When an offloaded function is called by the processor, and upon entering the offloaded function on the target

• When an offloaded function on the target returns, and upon the return of the function to the processor



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.